package com.czh.intelligentoj.model.dto.question;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 编辑请求
 *
 * @author CZH
 * 
 */
@Data
public class QuestionEditRequest implements Serializable {

    /**
     * id
     */
    private Long id;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 标签列表 json
     */
    private List<String> tags;

    /**
     * 题目答案
     */
    private String answer;

    /**
     * 测试用例
     */
    @TableField("judge_case")
    private List<JudgeCase> judgeCase;
    /**
     * 用例配置
     */
    @TableField("judge_config")
    private JudgeConfig judgeConfig;

    private static final long serialVersionUID = 1L;
}